CRPlugins\Oca\ShippingMethod\ShippingBranchesManager S

Total Complexity 48
Dependencies 5
Dependents 5
Total lines 270
Lines of code 203
Logical lines of code 77
Comment lines 22
Methods 13
Properties 1

Methods 13

Method Rating Maintainability Complexity Lines of code
maybe_show_branches_selection()
A
45 12 42
branch_response_to_object()
A
57 12 15
show_branches_selector()
S
46 4 44
maybe_clear_cache()
S
59 6 14
get_branches_to()
S
57 4 16
enqueue_javascript()
S
54 1 23
__construct()
S
68 2 7
get_selected_branch()
S
67 2 8
branch_to_array_response()
S
59 1 15
is_branches_selector_enabled()
S
80 1 3
set_selected_branch()
S
72 1 6
no_address()
S
70 1 6
clear_cache()
S
75 1 4